<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="{{$details->desc}}" />
	<meta name="keywords" content="魔豆网，程序员，编程，学习" />
	<title>{{$details->web_name}} - 魔豆网-开源技术社区</title>
	<link rel="stylesheet"  href="{{asset('resources/bootstrap-5.3.0/css/bootstrap.min.css')}}">
	<link rel="stylesheet"  href="{{asset('resources/style/style.css')}}">
	<script src="{{asset('resources/bootstrap-5.3.0/js/bootstrap.bundle.min.js')}}"></script>
</head>
<body>
	@include('inc/header')
	<main>
		<div class="container">
			<div class="details">
				<div class="title">{{$details->web_name}}</div>
				<div class="">
					<div class="text-center"><img src="{{url($details->pic_url)}}" class="img-fluid rounded mx-auto d-block"></div>
					<div class="info" style="padding: 15px 0;">
						@if($details->web_url!='' && $details->web_url!=null)
						<div class="weburl">
							官网地址：<a target="_blank" href="{{$details->web_url}}" style="background-color: #f2f2f2;padding:2px 6px;border-radius:.25rem;;">{{$details->web_url}}</a>
						</div>
						@endif
						@if($details->web_url_cn!='' && $details->web_url_cn!=null)
						<div class="weburl">
							中文网址：<a target="_blank" href="{{$details->web_url_cn}}" style="background-color: #f2f2f2;padding:2px 6px;border-radius:.25rem;;">{{$details->web_url_cn}}</a>
						</div>
						@endif
						@if($details->github!='' || $details->github!=null)
						<div class="weburl">
							GitHub：<a target="_blank" href="{{$details->github}}" style="background-color: #f2f2f2;padding:2px 6px;border-radius:.25rem;">{{$details->github}}</a>
						</div>
						@endif
						@if($details->gitee!='' && $details->gitee!=null)
						<div class="weburl">
							Gitee：<a target="_blank" href="{{$details->gitee}}" style="background-color: #f2f2f2;padding:2px 6px;border-radius:.25rem;;">{{$details->gitee}}</a>
						</div>
						@endif
					</div>
				</div>
				<div class="webinfo" style="min-height: 600px;font-size: 18px;line-height: 26px;">
					{!!$details->info!!}
				</div>
			</div>
		</div>
	</main>
	@include('inc/footer')
</body>
</html>
